noinst_HEADERS = \
	batch_dialog.h \
	batch_importer.h \
	category_chooser.h \
	category_dialog.h \
	category_info_view.h \
	category_tree_model.h \
	category_tree_view.h \
	download_applying.h \
	download_dialog.h \
	download_importer.h \
	download_info_view.h \
	download_list_view.h \
	filter_importer.h \
	global_dialog.h \
	item_list_model.h \
	item_list_view.h \
	main_app_callback.h \
	main_app.h \
	main_window.h \
	node_list_model.h \
	proxy_editor.h \
	proxy_info_view.h \
	proxy_list_view.h \
	queue_ctrl.h \
	state_icons.h \
	url_filter_dialog.h \
	urlgfe_util.h \
	view_setting_dialog.h \
	view_setting.h

# Main program

bin_PROGRAMS = urlgfe

urlgfe_CPPFLAGS = -I$(top_srcdir) -DDATADIR=\"$(datadir)\"
urlgfe_LDADD = ../urlglib/liburlglib.a @GTK_LIBS@ @GTHREAD_LIBS@ @CURL_LIBS@ @PCRE_LIBS@
urlgfe_CFLAGS = @GTK_CFLAGS@ @GTHREAD_CFLAGS@ @CURL_CFLAGS@ @PCRE_CFLAGS@

urlgfe_SOURCES = urlgfe.c item_list_model.c node_list_model.c \
	category_tree_model.c category_tree_view.c download_list_view.c proxy_list_view.c \
	item_list_view.c state_icons.c main_window.c main_app.c main_app_callback.c queue_ctrl.c \
	proxy_info_view.c download_info_view.c proxy_editor.c download_dialog.c urlgfe_util.c \
	category_info_view.c category_dialog.c category_chooser.c download_importer.c \
	filter_importer.c url_filter_dialog.c batch_dialog.c batch_importer.c download_applying.c \
	view_setting_dialog.c view_setting.c global_dialog.c

# Test program

# noinst_PROGRAMS = test_urlgfe

# test_urlgfe_CPPFLAGS = -I$(top_srcdir)
# test_urlgfe_LDADD = ../urlglib/liburlglib.a
# test_urlgfe_CFLAGS = `pkg-config --cflags gtk+-2.0 gthread-2.0` `curl-config --cflags` `pcre-config --cflags`
# test_urlgfe_LDFLAGS = `pkg-config --libs gtk+-2.0 gthread-2.0` `curl-config --libs` `pcre-config --libs`

# test_urlgfe_SOURCES = test_urlgfe.c item_list_model.c node_list_model.c \
# 	category_tree_model.c category_tree_view.c download_list_view.c proxy_list_view.c \
# 	item_list_view.c state_icons.c main_window.c main_app.c main_app_callback.c queue_ctrl.c \
# 	proxy_info_view.c download_info_view.c proxy_editor.c download_dialog.c urlgfe_util.c \
# 	category_info_view.c category_dialog.c category_chooser.c download_importer.c \
# 	filter_importer.c url_filter_dialog.c batch_dialog.c batch_importer.c download_applying.c \
# 	view_setting_dialog.c view_setting.c global_dialog.c
